package com.ctshk.rpc.tour.entity.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * <p>
 * 旅行团团期缓存对象
 * </p>
 *
 * @author lys
 * @since 2021-05-24
 */
@Data
@ApiModel(value = "SeriesTripScheduleCache对象", description = "旅行团团期缓存对象")
public class SeriesTripScheduleCache implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "团期id")
    @Field(type = FieldType.Long)
    private Long id;

    @ApiModelProperty(value = "团号")
    @Field(type = FieldType.Keyword)
    private String tripNumber;

}
